var windows = (function (){
    var pagesOrder = [];
    this.return = function() {
        $.mobile.changePage("#" + pagesOrder[pagesOrder.length - 1]);
        pagesOrder.pop();
    };
    this.init = function (){
        //-Add new cliet----------------------------------------------------------

        //------------------------------------------------------------------------
    };
    this.showPage = function(sourcePage, destinactionPage){
        pagesOrder.push(sourcePage)
        $.mobile.changePage("#" + destinactionPage);
    }
    this.init();
    return this;
}( windows || {}));
